'use strict'

class enddelWear {
    constructor () {
        this.param = '/:id'
    }


    async delete (c) {
        let ret=await c.service.psql.query(`delete from wear where wear_id=$1`, [c.param.id]);
        c.send(JSON.stringify(ret.rows));
    }
}

module.exports = enddelWear
